<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: Slic3r::GCodeReader Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_slic3r.html">Slic3r</a></li><li class="navelem"><a class="el" href="class_slic3r_1_1_g_code_reader.html">GCodeReader</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_slic3r_1_1_g_code_reader-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Slic3r::GCodeReader Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_g_code_reader_8hpp_source.html">GCodeReader.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Slic3r::GCodeReader:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_slic3r_1_1_g_code_reader.png" usemap="#Slic3r::GCodeReader_map" alt=""/>
  <map id="Slic3r::GCodeReader_map" name="Slic3r::GCodeReader_map">
<area href="class_slic3r_1_1_g_code_time_estimator.html" alt="Slic3r::GCodeTimeEstimator" shape="rect" coords="0,56,167,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_reader_1_1_g_code_line.html">GCodeLine</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:af3168d70f8de2b7af6714d1ee14f2740"><td class="memItemLeft" align="right" valign="top">typedef std::function&lt; void(<a class="el" href="class_slic3r_1_1_g_code_reader.html">GCodeReader</a> &amp;, const <a class="el" href="class_slic3r_1_1_g_code_reader_1_1_g_code_line.html">GCodeLine</a> &amp;)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_reader.html#af3168d70f8de2b7af6714d1ee14f2740">callback_t</a></td></tr>
<tr class="separator:af3168d70f8de2b7af6714d1ee14f2740"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab29dab3cb9db43a5593eb74a5c3dce1e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_reader.html#ab29dab3cb9db43a5593eb74a5c3dce1e">GCodeReader</a> ()</td></tr>
<tr class="separator:ab29dab3cb9db43a5593eb74a5c3dce1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28f914bed7efac122e23b33cb477a411"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_reader.html#a28f914bed7efac122e23b33cb477a411">apply_config</a> (const <a class="el" href="class_slic3r_1_1_print_config_base.html">PrintConfigBase</a> &amp;config)</td></tr>
<tr class="separator:a28f914bed7efac122e23b33cb477a411"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b8d5cda521cdd7ea977b355da6c3052"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_reader.html#a7b8d5cda521cdd7ea977b355da6c3052">parse</a> (const std::string &amp;gcode, <a class="el" href="class_slic3r_1_1_g_code_reader.html#af3168d70f8de2b7af6714d1ee14f2740">callback_t</a> <a class="el" href="class_slic3r_1_1_g_code_reader.html#a4e9fc8bc326d807cb2981dbca3cd1b63">callback</a>)</td></tr>
<tr class="separator:a7b8d5cda521cdd7ea977b355da6c3052"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af63800283e44fd23bfecffaf640a15d5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_reader.html#af63800283e44fd23bfecffaf640a15d5">parse_line</a> (std::string line, <a class="el" href="class_slic3r_1_1_g_code_reader.html#af3168d70f8de2b7af6714d1ee14f2740">callback_t</a> <a class="el" href="class_slic3r_1_1_g_code_reader.html#a4e9fc8bc326d807cb2981dbca3cd1b63">callback</a>)</td></tr>
<tr class="separator:af63800283e44fd23bfecffaf640a15d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae846dd8e8494250bdaf23f6a46ac53c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_reader.html#ae846dd8e8494250bdaf23f6a46ac53c7">parse_file</a> (const std::string &amp;file, <a class="el" href="class_slic3r_1_1_g_code_reader.html#af3168d70f8de2b7af6714d1ee14f2740">callback_t</a> <a class="el" href="class_slic3r_1_1_g_code_reader.html#a4e9fc8bc326d807cb2981dbca3cd1b63">callback</a>)</td></tr>
<tr class="separator:ae846dd8e8494250bdaf23f6a46ac53c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a1ad6d8811c499f0271d6eefb9980eed5"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_reader.html#a1ad6d8811c499f0271d6eefb9980eed5">X</a></td></tr>
<tr class="separator:a1ad6d8811c499f0271d6eefb9980eed5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d5fe2a2f5edcbeb458d3a993961dbf0"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_reader.html#a0d5fe2a2f5edcbeb458d3a993961dbf0">Y</a></td></tr>
<tr class="separator:a0d5fe2a2f5edcbeb458d3a993961dbf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05cf5dc16c7a0382a4d7b6fbaf6b20af"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_reader.html#a05cf5dc16c7a0382a4d7b6fbaf6b20af">Z</a></td></tr>
<tr class="separator:a05cf5dc16c7a0382a4d7b6fbaf6b20af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68286ebab9ee26a360b207c110d6844d"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_reader.html#a68286ebab9ee26a360b207c110d6844d">E</a></td></tr>
<tr class="separator:a68286ebab9ee26a360b207c110d6844d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d72dd730b56dbf0558ecf1640fa92b7"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_reader.html#a3d72dd730b56dbf0558ecf1640fa92b7">F</a></td></tr>
<tr class="separator:a3d72dd730b56dbf0558ecf1640fa92b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7c99f91d2d731b5ecd148b2c187ea94"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_reader.html#ad7c99f91d2d731b5ecd148b2c187ea94">verbose</a></td></tr>
<tr class="separator:ad7c99f91d2d731b5ecd148b2c187ea94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e9fc8bc326d807cb2981dbca3cd1b63"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_g_code_reader.html#af3168d70f8de2b7af6714d1ee14f2740">callback_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_g_code_reader.html#a4e9fc8bc326d807cb2981dbca3cd1b63">callback</a></td></tr>
<tr class="separator:a4e9fc8bc326d807cb2981dbca3cd1b63"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Typedef Documentation</h2>
<a id="af3168d70f8de2b7af6714d1ee14f2740"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3168d70f8de2b7af6714d1ee14f2740">&#9670;&nbsp;</a></span>callback_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::function&lt;void(<a class="el" href="class_slic3r_1_1_g_code_reader.html">GCodeReader</a>&amp;, const <a class="el" href="class_slic3r_1_1_g_code_reader_1_1_g_code_line.html">GCodeLine</a>&amp;)&gt; <a class="el" href="class_slic3r_1_1_g_code_reader.html#af3168d70f8de2b7af6714d1ee14f2740">Slic3r::GCodeReader::callback_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab29dab3cb9db43a5593eb74a5c3dce1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab29dab3cb9db43a5593eb74a5c3dce1e">&#9670;&nbsp;</a></span>GCodeReader()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Slic3r::GCodeReader::GCodeReader </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a28f914bed7efac122e23b33cb477a411"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28f914bed7efac122e23b33cb477a411">&#9670;&nbsp;</a></span>apply_config()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::GCodeReader::apply_config </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_print_config_base.html">PrintConfigBase</a> &amp;&#160;</td>
          <td class="paramname"><em>config</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a7b8d5cda521cdd7ea977b355da6c3052"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b8d5cda521cdd7ea977b355da6c3052">&#9670;&nbsp;</a></span>parse()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::GCodeReader::parse </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>gcode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_g_code_reader.html#af3168d70f8de2b7af6714d1ee14f2740">callback_t</a>&#160;</td>
          <td class="paramname"><em>callback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae846dd8e8494250bdaf23f6a46ac53c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae846dd8e8494250bdaf23f6a46ac53c7">&#9670;&nbsp;</a></span>parse_file()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::GCodeReader::parse_file </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_g_code_reader.html#af3168d70f8de2b7af6714d1ee14f2740">callback_t</a>&#160;</td>
          <td class="paramname"><em>callback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af63800283e44fd23bfecffaf640a15d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af63800283e44fd23bfecffaf640a15d5">&#9670;&nbsp;</a></span>parse_line()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Slic3r::GCodeReader::parse_line </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>line</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_slic3r_1_1_g_code_reader.html#af3168d70f8de2b7af6714d1ee14f2740">callback_t</a>&#160;</td>
          <td class="paramname"><em>callback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a4e9fc8bc326d807cb2981dbca3cd1b63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e9fc8bc326d807cb2981dbca3cd1b63">&#9670;&nbsp;</a></span>callback</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_g_code_reader.html#af3168d70f8de2b7af6714d1ee14f2740">callback_t</a> Slic3r::GCodeReader::callback</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a68286ebab9ee26a360b207c110d6844d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68286ebab9ee26a360b207c110d6844d">&#9670;&nbsp;</a></span>E</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Slic3r::GCodeReader::E</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3d72dd730b56dbf0558ecf1640fa92b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d72dd730b56dbf0558ecf1640fa92b7">&#9670;&nbsp;</a></span>F</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Slic3r::GCodeReader::F</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ad7c99f91d2d731b5ecd148b2c187ea94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7c99f91d2d731b5ecd148b2c187ea94">&#9670;&nbsp;</a></span>verbose</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::GCodeReader::verbose</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a1ad6d8811c499f0271d6eefb9980eed5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ad6d8811c499f0271d6eefb9980eed5">&#9670;&nbsp;</a></span>X</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Slic3r::GCodeReader::X</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0d5fe2a2f5edcbeb458d3a993961dbf0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d5fe2a2f5edcbeb458d3a993961dbf0">&#9670;&nbsp;</a></span>Y</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Slic3r::GCodeReader::Y</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a05cf5dc16c7a0382a4d7b6fbaf6b20af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05cf5dc16c7a0382a4d7b6fbaf6b20af">&#9670;&nbsp;</a></span>Z</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Slic3r::GCodeReader::Z</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/libslic3r/<a class="el" href="_g_code_reader_8hpp_source.html">GCodeReader.hpp</a></li>
<li>src/libslic3r/<a class="el" href="_g_code_reader_8cpp.html">GCodeReader.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
